home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7236 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  36 lines

  1. Newsgroups: comp.lang.c++
  2. Path: twisto.eng.hou.compaq.com!news
  3. From: jhenell@bangate.eur.compaq.com
  4. Subject: BC++. Pls help me with precompiled headers...
  5. Message-ID: <Dn65GG.M19@twisto.eng.hou.compaq.com>
  6. Sender: news@twisto.eng.hou.compaq.com (Gil Kloepfer)
  7. Organization: Compaq Computer Corp.
  8. Date: Thu, 22 Feb 1996 17:41:28 GMT
  9. X-Newsreader: Forte Free Agent 1.0.82
  10. X-Nntp-Posting-Host: 155.61.68.184
  11.  
  12. Using Borland C++ v4.52:
  13.  
  14. I get these (for me) rather confusing error messages.
  15.  
  16. When compiling I get the following error message:
  17. "Warning LEATHER.CPP 47: Cannot create pre-compiled header: code in
  18. header"
  19. (the 47th line  is the constructor of one of the classes,
  20. "Leather::Leather() (" )
  21.  
  22. Somewhat confused I went into the Project Options and set the
  23. precompiled headers to "Do not generate or use".
  24. This time it went through the compilation, but not the
  25. Building/Linking:
  26. Linker Error: Leather::Leather() defined in module LEATHER.CPP is
  27. duplicated in module RUBBER.CPP
  28. and this Error is repeated for all methods in the class.
  29.  
  30. It seems like I'm doing some very basic error, and I'd *greatly*
  31. appreciate any help.
  32.  
  33. / a newbie feelin' lame & frustrated..
  34.  
  35.  
  36.